package bytecode;

/**
 * Created by chengxiaoqi1 on 2018/7/3.
 */
public class  Basic{
    public static void main(String[] args) {
        int a = 1;
        int b = 2;
        int c = a + b;
    }

}

//Classfile /Users/chengxiaoqi1/gitroot/testQ/exercise/src/main/java/bytecode/BytecodeTest.class
//Last modified Jul 3, 2018; size 298 bytes
//        MD5 checksum ae13c2cc2478f7a95dd41694ef535334
//        Compiled from "BytecodeTest.java"
//public class bytecode.BytecodeTest
//        minor version: 0
//        major version: 52
//        flags: ACC_PUBLIC, ACC_SUPER
//        Constant pool:
//        #1 = Methodref          #3.#12         // java/lang/Object."<init>":()V
//        #2 = Class              #13            // bytecode/BytecodeTest
//        #3 = Class              #14            // java/lang/Object
//        #4 = Utf8               <init>
//   #5 = Utf8               ()V
//           #6 = Utf8               Code
//           #7 = Utf8               LineNumberTable
//           #8 = Utf8               main
//           #9 = Utf8               ([Ljava/lang/String;)V
//           #10 = Utf8               SourceFile
//           #11 = Utf8               BytecodeTest.java
//           #12 = NameAndType        #4:#5          // "<init>":()V
//           #13 = Utf8               bytecode/BytecodeTest
//           #14 = Utf8               java/lang/Object
//           {
//public bytecode.BytecodeTest();
//        descriptor: ()V
//        flags: ACC_PUBLIC
//        Code:
//        stack=1, locals=1, args_size=1
//        0: aload_0
//        1: invokespecial #1                  // Method java/lang/Object."<init>":()V
//        4: return
//        LineNumberTable:
//        line 6: 0
//
//public static void main(java.lang.String[]);
//        descriptor: ([Ljava/lang/String;)V
//        flags: ACC_PUBLIC, ACC_STATIC
//        Code:
//        stack=2, locals=4, args_size=1
//        0: iconst_1
//        1: istore_1
//        2: iconst_2
//        3: istore_2
//        4: iload_1
//        5: iload_2
//        6: iadd
//        7: istore_3
//        8: return
//        LineNumberTable:
//        line 8: 0
//        line 9: 2
//        line 10: 4
//        line 11: 8
//        }
//        SourceFile: "BytecodeTest.java"
